from django.conf.urls.defaults import *

#from cv.views import *

urlpatterns = patterns('',
    (r'^$', 'fb.views.learnerInformation_display'),
    (r'^display/$', 'fb.views.learnerInformation_display', ),
    (r'^display.html$', 'fb.views.learnerInformation_render_html', ),
    (r'^update/$', 'fb.views.learnerInformation_update', {'form': 'basic'}, ),
    (r'^update/work/$', 'fb.views.learnerInformation_work_update', ),
    (r'^update/education/$', 'fb.views.learnerInformation_education_update', ),
    (r'^update/photo/$', 'fb.views.learnerInformation_photo_update', ),
    (r'^update/(?P<form>\w+)/$', 'fb.views.learnerInformation_update', ),
    (r'^export/$', 'fb.views.learnerInformation_download', ),
    #(r'^export/cv.xml$', 'fb.views.learnerInformation_export', {'format': 'xml', }),
    (r'^export/cv.pdf$', 'fb.views.learnerInformation_export', {'format': 'pdf', 'content_type': 'application/pdf'}),
    (r'^export/cv.doc$', 'fb.views.learnerInformation_export', {'format': 'doc', 'content_type': 'application/msword'}),
    (r'^export/cv.odt$', 'fb.views.learnerInformation_export', {'format': 'odt', 'content_type': 'application/vnd.oasis.opendocument.text'}),
    (r'^export/resume.pdf$', 'fb.views.learnerInformation_export_american', {'format': 'pdf', 'content_type': 'application/pdf'}),
    (r'^export/resume.doc$', 'fb.views.learnerInformation_export_american', {'format': 'doc', 'content_type': 'application/msword'}),
    (r'^export/resume.odt$', 'fb.views.learnerInformation_export_american', {'format': 'odt', 'content_type': 'application/vnd.oasis.opendocument.text'}),    
    (r'^invite/$', 'fb.views.invite', ),
)